package com.fastjpa.vo;

import com.efeichong.mapping.Mapping;
import com.efeichong.mapping.UseMode;
import lombok.Getter;
import lombok.Setter;

/**
* @author admin
* @date 2022/07/17
* @description 学生
*/
@Setter
@Getter
public class SaveStudentVo {

    /**id**/
    private Long id;

    /**学生名**/
    private String name;

    /**年龄**/
    private Integer age;

    @Mapping(poProperty = "clazz.id", useMode = UseMode.TO_PO)
    private Long clazzId;

}
